package com.example.boot1.singleton;

/**
 * @author Create By Liuqz
 * @date 2020/1/31 22:36
 */
public class HolderSingleton {


    private static class Holder{
        public static HolderSingleton instance = new HolderSingleton();
    }

    public static HolderSingleton getInstance() {
        return Holder.instance;
    }

}
